#include "mapshow.h"

MapShow::MapShow(QWidget *parent) :
    QWidget(parent)
{

   this->resize(500,500);
   QStackedLayout* layout = new QStackedLayout();
   _tt = new QTextEdit(this);
   layout->addWidget(_tt);
   //tt->show();
    _tt->resize(500,500);
    setLayout(layout);


    int a = 3;

    Map m(0, a);



        for(int i=0 ; i < a ; i++ )
        {
            _tt->insertPlainText("\n");
            for(int j=0 ; j < a ; j++ )
            {
                QString q("lala");

                _tt->insertPlainText(q);

            }
        }

}
